<%@ page import = "java.util.Hashtable,
                   ro.xblue.translator.LanguageBean,
                   ro.gateway.aida.servlet.*,
                   ro.gateway.aida.obj.*,
                   ro.xblue.translator.TranslatorUtils,
                   ro.gateway.aida.obj.db.ActivityStatusDB,
                   ro.gateway.aida.srv.ICFService,
                   ro.gateway.aida.admin.ActivityObjectsOptions,
                   ro.gateway.aida.admin.ActObjsOptsConst,
                   ro.gateway.aida.db.PersistenceToken,
                   ro.gateway.aida.db.PersistenceManager" %>
                   
<%@ taglib uri="/WEB-INF/taglib.tld" prefix="gtw" %>
<%@ taglib uri="/WEB-INF/translator.tld" prefix="trans" %>
<%@ taglib uri="/WEB-INF/usr.tld" prefix="usr" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>

<%
     Object screen = request.getAttribute(EditActivityServlet.PNAME_SCREEN);
     String key = (String) request.getAttribute(EditActivityServlet.PNAME_KEY);
     if ((request.getAttribute(EditActivityServlet.SIGNATURE) == null) || (key == null)) return;
      PersistenceToken token = PersistenceManager.tokenLookup( application );

//     System.err.println("Screen:" + screen);
//     System.err.println("Key:" + key);
     Hashtable ed_ctx = (Hashtable) request.getAttribute(EditActivityServlet.PNAME_R_CTX);
     LanguageBean lang_bean = TranslatorUtils.getCurrentLanguage(request, application);
     Activity bean = (Activity) ed_ctx.get(EditActivityServlet.PNAME_BEAN);

     String title = bean.getTitle(lang_bean.language);
     if (title == null) title = "";
     String ext_reason = bean.getExtensionReason(lang_bean.language);
     String ctx = request.getContextPath();
     if (ext_reason == null) ext_reason = "";
     bean.getGen_titles().getAvailableLanguages();

     String ea_checked = ((bean.getDate_ae() == bean.getDate_pe()) && (bean.getDate_ae() != -1)) ? "checked=\"true\"" : "";
     String aa_checked = ((bean.getDate_aa() == bean.getDate_pa()) && (bean.getDate_aa() != -1)) ? "checked=\"true\"" : "";
     String sa_checked = ((bean.getDate_as() == bean.getDate_ps()) && (bean.getDate_as() != -1)) ? "checked=\"true\"" : "";

     // 4 anulat, 5 suspendat
     ActivityStatus act_status = bean.getStatus();
     boolean anulat = (act_status != null) && (act_status.getSt_code() == 4);
     boolean suspendat = (act_status != null) && (act_status.getSt_code() == 5);
//     if (bean.getObject() != null) {
//          System.out.println( bean.getObject().getOrigin() );
//          System.out.println( bean.getObject().getId() );
//          System.out.println( bean.getObject().getActivityId() );
//     }

     Hashtable services = (Hashtable) application.getAttribute( Constants.SERVICES );
     if ( services == null ) {
        System.err.println( "services null... edit activity" );
        return;
     }

     ICFService cfService = (ICFService) services.get( Constants.SERVICE_CF );
     ActivityStatus[] st_statuses = ActivityStatusDB
           .getManager(token ).getHarmonized();
     if (st_statuses == null) st_statuses = new ActivityStatus[0];

     OrganizationInv[] donor_orgs = bean.getOrgsByLRId(OrganizationRole.DONOR_ORG_ROLE);
     if (donor_orgs == null) donor_orgs = new OrganizationInv[0];
     String org_ids_para = "";
     if (donor_orgs.length > 0) {
        StringBuffer sb = new StringBuffer();
        sb.append("&orgids=");
        for (int i = 0; i < donor_orgs.length; i++) {
            if (i > 0) sb.append(",");
            sb.append(donor_orgs[i].getOrg_id());
        }
        org_ids_para = sb.toString();
     }

      // Activity Objects Options
      ActivityObjectsOptions aoo = ActivityObjectsOptions.getInstance();
%>
<% String lang=lang_bean.language; %>
<trans:initPage module="prj_pages" />
<gtw:get_errors/>
<html>
<head>
<link rel="shortcut icon" href=<html:rewrite page="/images/lpd.png"/>
<link href="alf.css" rel="stylesheet" type="text/css">
 type="image/ico" />	
 <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> 
  <META HTTP-EQUIV="EXPIRES" CONTENT="0"> 
<title>Local Projects Database - Project Editor</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="alf.css" type="text/css">
<STYLE>.text_searchbold {
	FONT-WEIGHT: bold; FONT-SIZE: 8pt; COLOR: #000000; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, pvetica, sans-serif
; text-decoration: none}
.text_search {
	FONT-SIZE: 8pt; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none
}
.text {
	FONT-WEIGHT: normal; FONT-SIZE: 9pt; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none
}
.titlu {
	FONT-WEIGHT: bold; FONT-SIZE: 11pt; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none
}
.lngtd { font-family: Verdana,
Arial, Helvetica, sans-serif; font-size: 8pt; font-style: normal; font-weight:
bold; text-decoration: none}
.lngsel { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; font-style: normal; font-weight:
normal; text-decoration: none}
A:hover {
	TEXT-DECORATION: underline
}
</STYLE>
<script language="javascript">

   function help(pageName) {
        ed_donor_orgs_win = window.open(
        "<%=ctx%>/help/UserGuide.pdf",
        "ed_fin_win", "HEIGHT=500,WIDTH=700");

    };

    function submit_theform() {
        document.theform.action.value = '<%=EditActivityServlet.ACTION_SUBMIT%>';
        document.theform.submit();
    };
    var ed_donor_orgs_win;
    function open_donor_orgs() {
        ed_donor_orgs_win = window.open(
        "org/selector.do",
        "ed_fin_win", "HEIGHT=400,WIDTH=500,scrollbars=yes");
    };
    function after_org_sel() {
        document.theform.after_selector.value = 'orgs';
        submit_theform();
    };
</script>

<script type="text/javascript" src="<html:rewrite page='/javascript/textCounter.js'/>"></script>
</head>

<body bgcolor="#FFFFFF" text="#000000" topmargin=0 leftmargin=0>
<jsp:include page="header.jsp" /><br><div align=center class=text_bold><trans:showPageMessage label="p.proiect00" /></div><div align=left class=text_search>&nbsp;&nbsp;&nbsp;<trans:showPageMessage label="p.proiect01" /></div>
  <table width="98%" border="0" cellspacing="1" cellpadding="4" class="text_searchBold" bgcolor="#0099CC" align="center">
    <tr>
      <td bgcolor="#FFFFFF" class="text_searchBold" width="30%">
          <table width="100%" cellpadding="0" cellspacing="0" border="0">
               <tr>
                    <td class="text_searchBold" width="10%">
                         <trans:showPageMessage label="p.editor" />
                    </td>
                    <td>
                         <usr:logged_user cellClass="text_search" showLoginLink="false" />
                    </td>
               </tr>
          </table>
      </td>
      <td bgcolor="#0099CC" width=35% class="thtabel">
        <div align="center"><trans:showPageMessage label="p.proiect" /></div>
      </td>
      <td bgcolor="#FFFFFF" colspan=2>
        <div align="center"><a href="org/edit" class="text_searchBold"><trans:showPageMessage label="p.organiz" /></a></div>
      </td>
  </tr>
  </table>
  <table width="98%" border="0" align=center cellspacing="1">
    <tr bgcolor="#FFFFFF">
      <td align="center" width="75%" class="thtabel" bgcolor="#0099CC">
<trans:showPageMessage label="p.page1" />
      </td>
      <td width="25%" class="thtabel" bgcolor="#0099CC">&nbsp;
      </td>
    </tr>
<form name="theform" method="post" action="editActivity">
<input type="hidden" name="action" value="<%=EditActivityServlet.ACTION_SUBMIT%>" />
<input type="hidden" name="key" value="<%=key%>" />
<input type="hidden" name="page" value="1" />
<input type="hidden" name="preview_data" value="false" />
<input type="hidden" name="after_selector" value="" />
<input type="hidden" name="prj_jump" value="" />
    <tr bgcolor="#FFFFFF">
      <td width="75%" bgcolor="f9f9f9" class="text_search">
        <p><img src=images/arrow_blue.gif hspace=4><b><trans:showPageMessage label="md.identif" /></b> </p>

      <% if (aoo.isEnabled(ActObjsOptsConst.PROJECT_TITLE)) { %>
      <p>&nbsp;
      <table border="0">
        <tr>
          <td valign="top" class="text_search">
            <gtw:show_error label="general_errors" />
            <trans:showPageMessage label="p.pname" />
            <%=aoo.isMandatory(ActObjsOptsConst.PROJECT_TITLE) ? "(<font color=red>*</font>)" : ""%>
          </td>
          <td class="text_search"><textarea name="title" cols="40" rows="3" onkeydown="textCounter(this.form.title,this.form.ctitle,1000);" onkeyup="textCounter(this.form.title,this.form.ctitle,1000);"><%=title%></textarea>
		<input readonly type="text" name="ctitle" size="3" maxlength="4" value=""> <trans:showPageMessage label="charactersleft" /> 
		  </td>
        </tr>
      </table>
      <% } %>

        </p>
        <p>
        <table border="0"><tr>
          <td valign="top" class="text_search"><trans:showPageMessage label="p.iddproj" /></td>
          <td valign="top"><table border="0" cellpadding="0" cellspacing="0">
          <% for (int i = 0; i < donor_orgs.length; i++) { %>
          <tr><td class="text_search">
          <input type="checkbox" name="selected_donor" value="<%=donor_orgs[i].getOrg_id()%>" />
          <trans:showPageMessage label="p.org" />: <%=donor_orgs[i].getOrg().getName()%><br>
          <%
               String donor_id = bean.getDonorIdForOrg(donor_orgs[i].getOrg().getId());
               if (donor_id == null) donor_id = "";
          %>
          <trans:showPageMessage label="p.prj_id" />: <input type="text" name="donor_prj_id<%=donor_orgs[i].getOrg_id()%>" size="30" maxlength="50" value="<%=donor_id%>">
          </td></tr>
          <tr><td class="text_search">&nbsp;
          </td></tr>
          <% } %>
          <tr><td class="text_search">
          <input type="button" name="more_donor_ids" class="buton" value="<trans:showPageMessage label="p.edit_donor_list" hide_link="true" />"
          onclick="javascript:open_donor_orgs();">
          <% if (donor_orgs.length > 0) { %>
          <input type="button" name="remove_donors" class="buton" value="<trans:showPageMessage label="p.remove_donors" hide_link="true" />"
          onclick="javascript:document.theform.action.value='remove_donors';document.theform.submit();">
          <% } %>
          </td></tr>
          </table></td></tr>
        </table>
        </p>

            <p><trans:showPageMessage label="p2.transfrontalier" />
            <input type="radio" name="is_tf" value="yes" <%=bean.isTransfrontalier() ? "checked=\"true\"":""%>>
            <trans:showPageMessage label="proj.da" /> &nbsp;&nbsp;&nbsp;&nbsp;
            <input type="radio" name="is_tf" value="no" <%=bean.isTransfrontalier() ? "":"checked=\"true\""%>>
            <trans:showPageMessage label="proj.nu" /> </p>

      <% if (aoo.isOneEnabled(new String[] {
            ActObjsOptsConst.APPROVAL_DATE,
            ActObjsOptsConst.APPROVAL_DATE_REAL,
            ActObjsOptsConst.STARTING_DATE,
            ActObjsOptsConst.STARTING_DATE_REAL,
            ActObjsOptsConst.CLOSING_DATE,
            ActObjsOptsConst.CLOSING_DATE_REAL,
            ActObjsOptsConst.STATUS,
            ActObjsOptsConst.EXTENSION
      })) { %>
        <a name="planning" /></a>
        <p><img src=images/arrow_blue.gif hspace=4><b><trans:showPageMessage label="p.plan" /></b>
        <p>&nbsp;
      <% } %>

        <table width="90%" border="0" cellspacing="1" cellpadding="5" align="center" bgcolor="#CCCCCC">
        <% if (aoo.isEnabled(ActObjsOptsConst.APPROVAL_DATE)) { %>
          <tr bgcolor="#FFFFFF">
            <td width="39%" class="text_search">
                  <gtw:show_error label='<%=ActObjsOptsConst.APPROVAL_DATE%>' />
                  <trans:showPageMessage label="p.dprop" />
                  <%=aoo.isMandatory(ActObjsOptsConst.APPROVAL_DATE) ? "(<font color=red>*</font>)" : ""%>
            </td>
            <td width="61%" class="text_search"> <gtw:dateSelector zname="z_ap" lname="l_ap" aname="a_ap" current_value="<%=bean.getDate_pa()%>" />
            </td>
          </tr>
        <% } %>

      <% if (aoo.isEnabled(ActObjsOptsConst.APPROVAL_DATE_REAL)) { %>
          <tr bgcolor="#FFFFFF">
            <td width="39%" class="text_search" height="40">
                  <gtw:show_error label='<%=ActObjsOptsConst.APPROVAL_DATE_REAL%>' />
                  <trans:showPageMessage label="p.dapp" />
                  <%=aoo.isMandatory(ActObjsOptsConst.APPROVAL_DATE_REAL) ? "(<font color=red>*</font>)" : ""%>
            </td>
            <td width="61%" class="text_search" height="40">
            <% if (aoo.isEnabled(ActObjsOptsConst.APPROVAL_DATE)) { %>
                  <input type="checkbox" name="same_aa" value="checkbox" <%=aa_checked%>>
                  <trans:showPageMessage label="p.sameprop" />:<br>
            <% } %>
              <gtw:dateSelector zname="z_aa" lname="l_aa" aname="a_aa" current_value="<%=bean.getDate_aa()%>" />
            </td>
          </tr>
      <% } %>

      <% if (aoo.isOneEnabled(new String[] {ActObjsOptsConst.APPROVAL_DATE,ActObjsOptsConst.APPROVAL_DATE_REAL})) { %>
            <tr bgcolor="f9f9f9">
            <td class="text_search" colspan="2" bgcolor="#FFFFFF">&nbsp;</td>
            </tr>
      <% } %>

      <% if (aoo.isEnabled(ActObjsOptsConst.STARTING_DATE)) { %>
          <tr bgcolor="#FFFFFF">
            <td width="39%" class="text_search">
            <gtw:show_error label='<%=ActObjsOptsConst.STARTING_DATE%>' />
            <trans:showPageMessage label="p.pstart" />
            <%=aoo.isMandatory(ActObjsOptsConst.STARTING_DATE) ? "(<font color=red>*</font>)" : ""%>
            </td>
            <td width="61%" class="text_search"> <gtw:dateSelector zname="z_sp" lname="l_sp" aname="a_sp" current_value="<%=bean.getDate_ps()%>" />
            </td>
          </tr>
      <% } %>

      <% if (aoo.isEnabled(ActObjsOptsConst.STARTING_DATE_REAL)) { %>
          <tr bgcolor="#FFFFFF">
            <td width="39%" class="text_search">
                  <gtw:show_error label='<%=ActObjsOptsConst.STARTING_DATE_REAL%>' />
                  <trans:showPageMessage label="p.sdate" />
                  <%=aoo.isMandatory(ActObjsOptsConst.STARTING_DATE_REAL) ? "(<font color=red>*</font>)" : ""%>
            </td>
            <td width="61%" class="text_search">
              <% if (aoo.isEnabled(ActObjsOptsConst.STARTING_DATE)) { %>
              <input type="checkbox" name="same_sa" value="checkbox" <%=sa_checked%>>
              <trans:showPageMessage label="p.sameprop" />: <br>
              <% } %>
              <gtw:dateSelector zname="z_sa" lname="l_sa" aname="a_sa" current_value="<%=bean.getDate_as()%>" />
            </td>
          </tr>
      <% } %>

      <% if (aoo.isOneEnabled(new String[] {ActObjsOptsConst.STARTING_DATE, ActObjsOptsConst.STARTING_DATE_REAL})) { %>
          <tr bgcolor="f9f9f9">
            <td class="text_search" colspan="2" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
      <% } %>

      <% if (aoo.isEnabled(ActObjsOptsConst.CLOSING_DATE)) { %>
          <tr bgcolor="#FFFFFF">
            <td width="39%" class="text_search">
            <gtw:show_error label='<%=ActObjsOptsConst.CLOSING_DATE%>' />
            <trans:showPageMessage label="p.endpdate" />
            <%=aoo.isMandatory(ActObjsOptsConst.CLOSING_DATE) ? "(<font color=red>*</font>)" : ""%>
            </td>
            <td width="61%" class="text_search"> <gtw:dateSelector zname="z_ep" lname="l_ep" aname="a_ep" current_value="<%=bean.getDate_pe()%>" />
            </td>
          </tr>
      <% } %>

      <% if (aoo.isEnabled(ActObjsOptsConst.CLOSING_DATE_REAL)) { %>
          <tr bgcolor="#FFFFFF">
            <td width="39%" class="text_search">
                  <gtw:show_error label='<%=ActObjsOptsConst.CLOSING_DATE_REAL%>' />
                  <trans:showPageMessage label="p.enddate" />
                  <%=aoo.isMandatory(ActObjsOptsConst.CLOSING_DATE_REAL) ? "(<font color=red>*</font>)" : ""%>
            </td>
            <td width="61%" class="text_search">
              <% if (aoo.isEnabled(ActObjsOptsConst.CLOSING_DATE)) { %>
              <input type="checkbox" name="same_ea" value="checkbox" <%=ea_checked%>>
              <trans:showPageMessage label="p.sameprop" />: <br>
              <% } %>
              <gtw:dateSelector zname="z_ea" lname="l_ea" aname="a_ea" current_value="<%=bean.getDate_ae()%>" />
            </td>
          </tr>
      <% } %>

      <% if (aoo.isEnabled(ActObjsOptsConst.STATUS)) { %>
          <%
              long status_id = (act_status != null) ? act_status.getId() : -1;
              String str_status = null;
              if ((status_id == -1) && (act_status != null)) {
                  str_status = act_status.getStatus(lang_bean.language);
              }

              String status_reason = bean.getStatusReason(lang_bean.language);
              if (status_reason == null) status_reason = "";
          %>
          <tr bgcolor="#FFFFFF">
            <script language="javascript">
                function check_for_status_reason() {
                    document.theform.status_reason.disabled = 0;
                    var was_other = 0;
                    for (var i = 0; i < document.theform.status.length; i++) {
                        if (document.theform.status[i].selected) {
                            //if ((document.theform.status[i].value == 4) || (document.theform.status[i].value == 5)) {
                                //document.theform.status_reason.disabled = 0;
                                //document.theform.status_reason.focus();
                                //} else {
                                //document.theform.status_reason.disabled = 1;
                            //}
                        }
                    } // for
                };
            </script>
            <td width="39%" class="text_search">
                  <gtw:show_error label='<%=ActObjsOptsConst.STATUS%>' />
                  <trans:showPageMessage label="p.status" />
                  <%=aoo.isMandatory(ActObjsOptsConst.STATUS) ? "(<font color=red>*</font>)" : ""%>
            </td>
            <td width="61%" class="text_search">
            <trans:showPageMessage label="p.stat_warning" /><br>
            <select name="status" onChange="javascript:check_for_status_reason();">
                <option value="-1"><trans:showPageMessage label="p.selstatus" /></option>
                <% for (int i = 0; i < st_statuses.length; i++) { %>
                <option <%=(status_id == st_statuses[i].getId()) ? "selected=\"true\" ":""%>value="<%=st_statuses[i].getId()%>"><%=st_statuses[i].getStatus(lang_bean.language)%></option>
                <% } %>
            </select><br>
            <br><br>
            <trans:showPageMessage label="p.reason" />:<br>
            <textarea name="status_reason" rows="4" cols="40" wrap="VIRTUAL" onkeydown="textCounter(this.form.status_reason,this.form.cstatus_reason,3000);" onkeyup="textCounter(this.form.status_reason,this.form.cstatus_reason,3000);"><%=status_reason%></textarea>
	<input readonly type="text" name="cstatus_reason" size="3" maxlength="4" value=""> <trans:showPageMessage label="charactersleft" />		
            <script language="javascript">
            check_for_status_reason();
            </script>
            </td>
          </tr>
        </table>
        <p>
        <% } %>

        <% if (aoo.isEnabled(ActObjsOptsConst.EXTENSION)) { %>
          <script language="javascript">
            function ext_changed(on_off) {
                  if (on_off == 0) {
                        document.theform.z_ext.disabled=1;
                        document.theform.a_ext.disabled=1;
                        document.theform.l_ext.disabled=1;
                        //document.theform.ext_text.disabled=1;
                  }
                  else {
                        document.theform.z_ext.disabled=0;
                        document.theform.a_ext.disabled=0;
                        document.theform.l_ext.disabled=0;
                        //document.theform.ext_text.disabled=0;
                  }
            }
          </script>
        <table width="100%" border="0" cellspacing="1" cellpadding="2" align="center">
          <tr>
            <td valign="top" rowspan="2" width="25%" class="text_search">
            <gtw:show_error label='<%=ActObjsOptsConst.EXTENSION%>' />
            <trans:showPageMessage label="p.projext" />: </td>
            <td width="75%" class="text_search">
              <input type="radio" name="extins"
                  onclick="javascript:ext_changed(0);"
                  value="nu" <%=(bean.getDate_ext() != -1) ? "" : "checked=\"true\""%>>
             <trans:showPageMessage label="p.no" /></td>
          </tr>
          <tr>
            <td class="text_search">
              <input type="radio" name="extins"
                  onclick="javascript:ext_changed(1);"
                  value="da" <%=(bean.getDate_ext() == -1) ? "" : "checked=\"true\""%>>
              <trans:showPageMessage label="p.yestill" />:
              <gtw:dateSelector zname="z_ext" lname="l_ext" aname="a_ext" current_value="<%=bean.getDate_ext()%>" />
              <br><br>
              <trans:showPageMessage label="p.extr" />:<br>
              <textarea name="ext_text" rows="4" cols="40" wrap="VIRTUAL" onkeydown="textCounter(this.form.ext_text,this.form.cext_text,3000);" onkeyup="textCounter(this.form.ext_text,this.form.cext_text,3000);"><%=ext_reason%></textarea><input readonly type="text" name="cext_text" size="3" maxlength="4" value=""> <trans:showPageMessage label="charactersleft" />
            </td>
          </tr>
        <% } %>
        </table>

        <p align="center">
          <input
          type="button" name="un_nume" class="butonsave"
          value="<trans:showPageMessage label="p.sinfo" hide_link="true" />"
          onClick="javascript:submit_theform();" />
        </p>
        <p align="center"> <a href=/pagina2.htm> </a></p>
      </td>
      <td width="25%" valign="top">
<!-- meniu dreapta -->
      <table width="98%" border="0" cellspacing="1" cellpadding="2" bgcolor="#000066">
        <tr>
	      <td align="center"><b> <span class="textalb"><trans:showPageMessage label="p.proj" />:</span>
            <span class="textalb"><font color="#F9E031"><%=title%></font></span>
            </b></td>
</tr>
<tr>
	      <td bgcolor="#336699" class="textalb"> <img src=images/arrow_white_tr.gif>
            <a href="editActivity?key=<%=key%>&page=1" class="textalb"><trans:showPageMessage label="md.identif" /></a>
          </td>
</tr>
<tr>
          <td bgcolor="#336699" class="textalb"> <img src=images/arrow_white_tr.gif> <a href="editActivity?key=<%=key%>&page=1#planning" class="textalb"><trans:showPageMessage label="md.plan" /></a>
          </td>
</tr>
<tr>
<td bgcolor="#0099CC" class="textalb">
	<img src=images/arrow_white_tr.gif>
	<a
      onclick="javascript:theform.prj_jump.value='2';theform.submit();"
      style="cursor:hand;"
      class="textalb"><trans:showPageMessage label="md.loc" /></a>
</td>
</tr>
<tr>
<td bgcolor="#0099CC" class="textalb">
	<img src=images/arrow_white_tr.gif>
	<a
      onclick="javascript:theform.prj_jump.value='2';theform.submit();"
      style="cursor:hand;"
      class="textalb"><trans:showPageMessage label="md.sec" /></a>
</td>
</tr>
<tr>
<td bgcolor="#0099CC" class="textalb">
	<img src=images/arrow_white_tr.gif>
	<a
      onclick="javascript:theform.prj_jump.value='2';theform.submit();"
      style="cursor:hand;"
      class="textalb"><trans:showPageMessage label="md.comp" /></a>
</td>
</tr>
<tr>
<td bgcolor="#0099CC" class="textalb">
	<img src=images/arrow_white_tr.gif>
	<a
      onclick="javascript:theform.prj_jump.value='3';theform.submit();"
      style="cursor:hand;"
      class="textalb"><trans:showPageMessage label="md.fin" /></a>
</td>
</tr>
<tr>
<td bgcolor="#0099CC" class="textalb">
	<img src=images/arrow_white_tr.gif>
	<a
      onclick="javascript:theform.prj_jump.value='3';theform.submit();"
      style="cursor:hand;"
      class="textalb"><trans:showPageMessage label="md.prel" /></a>
</td>
</tr>

<tr>
<td bgcolor="#0099CC" class="textalb">
	<img src=images/arrow_white_tr.gif>
	<a
      onclick="javascript:theform.prj_jump.value='4';theform.submit();"
      style="cursor:hand;"
      class="textalb"><trans:showPageMessage label="md.cauth" /></a>
</td>
</tr>
<tr>
<td bgcolor="#0099CC" class="textalb">
	<img src=images/arrow_white_tr.gif>
	<a
      onclick="javascript:theform.prj_jump.value='5';theform.submit();"
      style="cursor:hand;"
      class="textalb"><trans:showPageMessage label="md.ben" /></a>
</td>
</tr>
<tr>
<td bgcolor="#0099CC" class="textalb">
	<img src=images/arrow_white_tr.gif>
	<a
      onclick="javascript:theform.prj_jump.value='5';theform.submit();"
      style="cursor:hand;"
      class="textalb"><trans:showPageMessage label="md.descobj" /></a>
</td>
</tr>
<tr>
<td bgcolor="#0099CC" class="textalb">
	<img src=images/arrow_white_tr.gif>
	<a
      onclick="javascript:theform.prj_jump.value='6';theform.submit();"
      style="cursor:hand;"
      class="textalb"><trans:showPageMessage label="md.docl" /></a>
</td>
</tr>
<tr>
<td bgcolor="#0099CC" class="textalb">
	<img src=images/arrow_white_tr.gif>
	<a
      onclick="javascript:theform.prj_jump.value='6';theform.submit();"
      style="cursor:hand;"
      class="textalb"><trans:showPageMessage label="md.pinv" /></a>
</td>
</tr>
<tr>
<td bgcolor="#0099CC" align="center">
<input type="button" name="Help" class="buton" value="<trans:showPageMessage label="p.help" hide_link="true" />"
          onClick="javascript:help('aboutPage1.htm');">
</td>
</tr>
<tr>
<td bgcolor="#0099CC" height="45">
<div align="center">
<input type="button"
      onClick="javascript:document.theform.action.value='<%=EditActivityServlet.ACTION_SUBMIT%>';document.theform.preview_data.value='true';document.theform.submit();"
	value='<trans:showPageMessage label="p.pubinfo" hide_link="true" />'
	class="butonpublish"
/><font color="0099cc"><trans:showPageMessage label="md.punct" /></font>
</div>
</td>
</tr>
</table>
<!-- ziendof meniu dreapta -->
      </td>
    </tr>
  </table>
</form>

<jsp:include page="footer.jsp" />
<script language="javascript">
      <% if (bean.getDate_ext() == -1) { %>
      ext_changed(0);
      <% } %>
</script>
</body>
 <HEAD>
 <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
 </HEAD>
</html>
<!--
-->